package customer.design.dispatcher.dispatchermode.bean;

import customer.design.dispatcher.dispatchermode.common.StatusCode;
public class BaseResponse {
    public StatusCode StatusCode;
    public Object data;
    public int code;
    public String message;

    public BaseResponse(StatusCode statusCode) {
        this.StatusCode = statusCode;
    }

    public BaseResponse(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
